module.exports = {
	// 获取日期 YY-mm-dd
	getDateTime: function() {
		var date = new Date();
		var y = date.getFullYear();
		var m = date.getMonth() + 1;
		m = m < 10 ? ('0' + m) : m;
		var d = date.getDate();
		d = d < 10 ? ('0' + d) : d;
		return y + '-' + m + '-' + d;
	},
	
	// 默认的分享内容
	defaultShare() {
		return {
			title: '您收到一份来自好友的福语+,快快点击查看吧.',
			imageUrl: 'http://lc-s0KE4Kw4.cn-n1.lcfile.com/E0DWwPWzLl8M65aRt1hcsmVOXR4QvBw7/applogo.png',
			path: 'pages/homepage/home'
		}
	}
}
